home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 January / macformat46.iso / Shareware Plus / Developers / Library / AVF 1.1 Pack / AVF 1.1 pack ƒ folder / AVF 1.1 pack ƒ / headers / OffscreenWorld.h < prev    next >
Encoding:
Text File  |  1996-09-29  |  717 b   |  24 lines

  1. // ---------------------------------------------------------------------------
  2. //        • AVF 1.1 - Asynchronous Video Framework
  3. //      • 
  4. //      • Philippe Lang, 1733 Treyvaux, SWITZERLAND
  5. //      • plang@com.mcnet.ch
  6. // ---------------------------------------------------------------------------
  7.  
  8. #pragma once
  9.  
  10. #include <QDOffscreen.h>
  11.  
  12. enum OffscreenErr { NewGWorldErr, LockPixelsErr };
  13.  
  14. class OffscreenWorld {
  15. public:
  16.     OffscreenWorld( const Rect boundsRect ) throw ( OffscreenErr );
  17.     OffscreenWorld( short PixelDepth, const Rect boundsRect, CTabHandle cTable ) throw ( OffscreenErr );
  18.     ~OffscreenWorld();
  19.     PixMapHandle    PixMapH() { return ( mPixMapH ); };
  20.     
  21. protected:
  22.     GWorldPtr        mGWorldP;
  23.     PixMapHandle    mPixMapH;
  24. };